package edu.zqu.collegeField.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.zqu.collegeField.project.dto.FieldDepartmentDto;
import edu.zqu.collegeField.project.po.FieldDepartment;
import edu.zqu.collegeField.project.vo.FieldDepartmentVo;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 场地的管理部门 服务类
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
public interface FieldDepartmentService extends IService<FieldDepartment> {
    List<FieldDepartmentVo> get(BigInteger collegeId, BigInteger fieldId, BigInteger departmentId);//获取场地的管理部门列表

    FieldDepartmentVo getById(BigInteger id);//获取场地的管理部门

    int add(FieldDepartment fieldDepartment);//添加场地部门

    int update(FieldDepartment fieldDepartmentUpdate);//修改场地部门

    int delete(BigInteger id, BigInteger byWho);//删除场地部门
}
